CruiseControl.NET : Perforce Source Control Block
This page last changed on Jun 17, 2005 by orogers.
Perforce Configuration ExamplesExample using defaults:<sourcecontrol type="p4"> <view>//projects/myproject/...</view> </sourcecontrol> Full example: <sourcecontrol type="p4"> <view>//projects/ccnet/...,//tools/nant/...</view> <executable>c:\perforce\p4.exe</executable> <client>ccnet-buildhost</client> <user>public</user> <port>perforce01.thoughtworks.net:1666</port> <applyLabel>true</applyLabel> <autoGetSource>true</autoGetSource> <forceSync>true</forceSync> <p4WebURLFormat>http://perforceWebServer:8080/@md=d&cd=//&c=3IB@/{0}?ac=10</p4WebURLFormat> </sourcecontrol> Configuration Elements:
Client / User / Password / Port usageYou may specify any of the Perforce client, user and port (ie 'host:port' in Perforce standards) settings to use. If you don't specify them, then Cruise Control .NET will use the defaults in your registry (use 'p4 set' to view and edit these.) NB: If you use a user with a non-empty password, you must use the user specified in the registry, and its password must be set in the registry too. This is done whenever you use 'P4Win' and tell it to remember your password. Note that the client specification is only used for syncing and applying labels, it is not used when checking for changes. This is significant since it means that the view in the specified client does not effect the plugin's behaviour when checking for changes.Perforce IssuesPerforce cannot apply purely numeric labels, which is what CCNet uses by default. Therefore, if you have 'applyLabel' set to true, you must also setup a custom Labeller in your project, e.g. by using the Default Labeller. |
Document generated by Confluence on Jun 26, 2005 17:22 |